/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 * this is a single item details view
 * it will show the following information:
 *   - Item SKU
 *   - Item Description
 *   - One Picture for now
 *   - Item Price
 *   - Quantity
 *   - Add to cart button
 *
 *   For the future:
 *   - Item discounted price
 *   - Promotions bundles, etc...
 *   - More than one picture, zoom and fancy stuff
 *   - Quantity Available.
 *
 */

dojo.provide("afitco.eTajer.widgets.ItemView");
dojo.require("dijit._Widget");
dojo.require("dijit._Templated");

dojo.require("dijit.form.Button");
dojo.require("dijit.form.TextBox");

dojo.declare("afitco.eTajer.widgets.ItemView",
    /* Extends */ [dijit._Widget, dijit._Templated],
    {
        widgetsInTemplate: true,
        templatePath: dojo.moduleUrl("afitco.eTajer.widgets","templates/ItemView.html"),

        SKU: "",
        imageSrc: "",
        Description: "",
        Price: "",

        Button_OnClick: function()
        {
            console.log("its working");
            
        }
    });
